package cn.aitrox.ry.service.image.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

@Data
@Configuration
public class ImageNacosProp {

    @Value("${spring.data.mongodb.host1}")
    protected String host1;
    @Value("${spring.data.mongodb.port1}")
    protected int port1;
    @Value("${spring.data.mongodb.host2}")
    protected String host2;
    @Value("${spring.data.mongodb.port2}")
    protected int port2;
    @Value("${spring.data.mongodb.username}")
    protected String username;
    @Value("${spring.data.mongodb.password}")
    protected String password;
    @Value("${spring.data.mongodb.database}")
    protected String database;
    @Value("${spring.data.mongodb.authentication-database}")
    private String authDatabase;

    @Value("${shareDataPath}")
    private String shareDataPath;

    @Value("${video.rate}")
    private Float defaultVideoRate;

    @Value("${ossType}")
    private String ossType;
}
